package com.jic.order.service;

import com.jic.order.request.FrontPayOrderRequest;
import com.jic.order.response.UnifiedOrderResponses;

import java.util.Map;

/**
 * 微信支付
 */
public interface WXService {
    /**
     * 统一下单
     * @param request
     * @return
     * @throws Exception
     */
    Map unifiedOrder(FrontPayOrderRequest request) throws Throwable;

    /**
     * 回调
     * @param notifyData
     * @return
     */
    String payBack(String notifyData);
}
